package com.atguigu.common.constant;

/**
 * 购物车服务 常量类
 */
public class CartConstant {

    /**
     * 临时用户
     */
    public static final String TEMP_USER_COOKIE_NAME = "user-key";

    /**
     * 临时用户key过期时间
     */
    public static final int TEMP_USER_COOKIE_TIMEOUT = 60*60*24*30;

    /**
     * 用户购物车缓存key
     */
    public static final String USER_CART_PREFIX = "gulimall:cart:";
}
